#define _CRT_SECURE_NO_WARNINGS 1
#include "DList.h"

int main()
{
	DLTNode* plist = NULL;
	plist = BuyDLTInitNode(plist);

	DLTPushFront(plist, 1);
	DLTPushFront(plist, 2);
	DLTPushFront(plist, 3);
	DLTPushFront(plist, 4);
	DLTPushFront(plist, 5);

	DLTPrint(plist);

	DLTNode* pp = DLTFindNumber(plist, 2);
	if (pp == NULL)
	{
		perror("find fail");
	}
	DLTPrint(plist);


	return 0;
}